﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectedEvent.ascx.cs"
    Inherits="blackhouse.Aparts.Web.Modules.SelectedEvent" %>
<%@ Register Src="~/Modules/CurrencyLiteral.ascx" TagName="CurrencyLiteral" TagPrefix="blackhouse" %>
<h1 class="ntit">
    <asp:Literal runat="server" ID="ltlTitle"></asp:Literal>
    <asp:LinkButton runat="server" ID="lnkPublish" Visible="true" CssClass="group-edit-link"
        OnClick="lnkPublish_Click">Publikuj</asp:LinkButton>
</h1>
<div class="selected-event">
    <asp:Image runat="server" ID="imgPhoto" CssClass="event-img" />
    <div class="event-photo-description">
        <div class="event-top-line-left">
            <asp:Literal ID="ltlPhotoDescription" runat="server" />
        </div>
        <div class="event-top-line-right">
            Autor:
            <asp:Literal ID="ltlPhotoAuthor" runat="server" />
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="event-top-line">
        <div class="event-top-line-left">
            Dodano:
            <asp:Literal runat="server" ID="ltlDate" />
        </div>
        <asp:Panel runat="server" ID="pnlEventDates" CssClass="event-top-line-right">
            Wydarzenie:
            <asp:Literal runat="server" ID="ltlEventDate" />
        </asp:Panel>
        <div class="clear">
        </div>
    </div>
    <div class="p-v10">
        <p class="b e-lead">
            <asp:Literal runat="server" ID="ltlLead" />
        </p>
        <br />
        <p class="e-content">
            <asp:Literal runat="server" ID="ltlContent" />
        </p>
        <br />
    </div>
</div>
<asp:Panel runat="server" ID="pnlApartments" Visible="false" CssClass="event-apartments">
    <div class="eva-ap-htp">
        W terminie
        <asp:Literal runat="server" ID="ltlReservationDate" />
        mamy jeszcze wolne apartamenty:</div>
    <asp:Repeater runat="server" ID="rptApartments" OnItemDataBound="rptApartments_ItemDataBound">
        <ItemTemplate>
            <asp:Panel runat="server" ID="pnlItem" CssClass="event-apartment">
                <div class="eva-ap-tit">
                    <asp:HyperLink runat="server" ID="lnkName" CssClass="red b" />
                </div>
                <div class="eva-ap-after">
                    <div class="eva-ap-price">
                        Cena od:<span class="blue">
                            <blackhouse:CurrencyLiteral runat="server" ID="lblPricePersonNight" Precision="0"
                                DisableChangeCurrency="true" />
                        </span>/<%=GetGlobalResourceObject("Aparts", "perNight")%></div>
                    <div class="eva-ap-maxp">
                        Max osób:
                        <asp:Panel runat="server" ID="pnlMaxPeople" CssClass="apl-people">
                            <asp:HyperLink runat="server" ID="lnkMaxPeople" />
                        </asp:Panel>
                    </div>
                </div>
            </asp:Panel>
        </ItemTemplate>
    </asp:Repeater>
    <div class="clear">
    </div>
</asp:Panel>
